<!doctype html>
<html class="side-header" data-style-switcher-options="{'changeLogo': false, 'colorPrimary': '#62AC6E', 'colorSecondary': '#e36159', 'colorTertiary': '#2baab1', 'colorQuaternary': '#383f48'}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>{$kwRs.keyword}{if input('page') neq 1 and !empty(input('page'))} - {:lang('v_current')}{:input('page')}{:lang('v_page')}{/if} - {$siteRs.company}</title>
<meta name="keywords" content="{$kwRs.keyword}" />
<link rel="shortcut icon" type="image/x-icon" href="{$siteRs.ico}" />
{include file="public/css" /}
<style type="text/css">
    .text-purple{color: #605ab0!important;}
</style>
<?php
    $lang_pre = '';
    if(empty(config('global.url.bind_lang'))){
        $lang_pre = '/'.$lang;
    }
?>
</head>
<body class="bg-orange">
<div class="container bg-white box-shadow">
    <div class="row">
        <div class="col-sm-12 px-0 px-sm-3">
            <div class="body">
                {include file="public/head" /}
                <div role="main" class="main">
                    <!--面包屑 开始-->
                    <div class="w-100 bg-light py-2">
                        <div class="container">
                            <div class="row">
                                <div class="col-md-12">
                                    <a href="{$home_path}" class="mr-2">{:lang('v_home')}</a> <i class="fa fa-angle-right"></i>
                                    <a href="{:url('site/map')}" class="mx-2">{:lang('v_sitemap')}</a><i class="fa fa-angle-right"></i>
                                    <a href="{$lang_pre}/tags/{$kwRs.urlroute}/" class="ml-2"><h1 class="h7 d-inline-block">{$kwRs.keyword}</h1></a>
                                </div>
                            </div>
                        </div>
                    </div>
                    <!--面包屑 结束-->
                    <!--主体 开始-->
                    <div class="container mt-4 mt-sm-5">
                        <div class="row">
                            <!--列表 开始-->
                            <div class="col-md-12 mb-4">
                                {empty name="list"}
                                    <div class="col-md-12 py-3 h5 text-center">{:lang('v_nodata')}</div>
                                {else /}
                                    {volist name="list" id="rs"}
                                        <div class="row">
                                            <div class="col-md-2 col-3"><a href="{$rs.url}"><img class="w-100 rounded" src="{$rs.thumb}" alt="{$rs.title}" onerror="this.src='/skin/admin/img/nopic.png'"></a></div>
                                            <div class="col-md-10 col-9">
                                                <h5 class="mb-2 ellipsis line-1"><strong><a href="{$rs.url}" {notempty name="rs.color"}style="color:{$rs.color}"{/notempty}>{$rs.title|raw}</a></strong></h5>
                                                <p class="text-muted mb-0 ellipsis line-3">{$rs.description|raw}</p>
                                                <p class="text-muted mb-0 d-none d-sm-block">
                                                    <span class="float-left">
                                                        <i class="fa fa-cubes mr-1"></i>{:lang('v_sort')}：{$rs.sort_title}
                                                        <i class="far fa-clock ml-2 mr-1"></i>{:lang('v_date')}：{$rs.addtime|date='Y-m-d'}
                                                        <i class="fa fa-eye ml-2 mr-1"></i> {:lang('v_hits')}：{$rs.hits}
                                                    </span>
                                                    <span class="float-right">
                                                        <a href="{$rs.url}" class="btn btn-sm btn-rounded btn-light px-3">{:lang('v_view')} &raquo;</a>
                                                    </span>
                                                </p>
                                                <div class="clearfix"></div>
                                            </div>
                                        </div><hr>
                                    {/volist}
                                    <!--分页-->
                                    <div class="row mt-4 h6">
                                        <div class="col-md-4 col-sm-12">{:lang('v_total')} {$last_page} {:lang('v_page')} {$total} {:lang('v_records')}</div>
                                        <div class="col-md-8 col-sm-12 mt-4 mt-sm-0">
                                            <div class="pages float-left float-sm-right">{$list->render()|raw}</div>
                                        </div>
                                    </div>
                                {/empty}
                            </div>
                            <!--列表 结束-->
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{include file="public/foot" /}
</body>
</html>